package com.six.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@TableName("admin")
@Data
public class Admin implements Serializable {


    @TableId(type = IdType.AUTO)
    private Long id;

    private String no;

    private String name;

    private String username;

    private String password;

    private String salt;

    private Integer age;

    private Integer sex;

    private String career;

    private String phone;

    private String image;

    private String address;

    private Long deptId;

    @TableField(exist = false)
    private String deptName;

    private Long dutyId;

    private Long idCardId;

    private Date created;

    private Date updated;


}
